<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
</head>
<body>
<h3 style="color: red" th:text="${msg}"></h3>
<form action="login" method="post">
    <input name="username" type="text">
    <input name="password" type="password">
    <input type="submit" value="登录">
</form>
</body>
</html>